package crud.client.data;

import java.io.Serializable;

import com.google.gwt.user.client.rpc.IsSerializable;

public class DataView implements Serializable, IsSerializable
{
	private String key;
	private String label;
	private Serializable data;
	
	
	
	public DataView()
	{
		super();
	}
	public DataView(Serializable data, String key, String label)
	{
		super();
		this.data = data;
		this.key = key;
		this.label = label;
	}
	public String getKey()
	{
		return key;
	}
	public void setKey(String key)
	{
		this.key = key;
	}
	public String getLabel()
	{
		return label;
	}
	public void setLabel(String label)
	{
		this.label = label;
	}
	public Serializable getData()
	{
		return data;
	}
	public void setData(Serializable data)
	{
		this.data = data;
	}
	
	
}
